﻿using System;
using System.Collections.Generic;
using System.Linq;
/// <summary>
/// data   :2016-05-03
/// author :fanzhengyong
/// 游戏状态：框架初始化
/// </summary>
using System.Text;
using UnityEngine;

namespace UEngine
{
    class GameStateInitFramework : GameState
    {
        public GameStateInitFramework()
        {
            State = EGameState.InitFramework;
        }

        public override void Enter()
        {
            Debug.Log("enter InitFramework.");
            bool retcode = ResourceManager.Instance().Init();
            if (retcode)
            {
                Debug.Log("ResourceManager.Instance().Init() sucessed");
            }

        }

        public override void Update()
        {

        }

        public override void Exit()
        {
            Debug.Log("exit InitFramework.");
            //EventManager.Instance().pushEvent("GE_CLOSE_LOGIN");
        }

    }
}
